# -*- coding: utf-8 -*-
import collections

# from google.appengine.ext import db
# from wtforms.ext.appengine.db import model_form

#
# class OrganizerDB(db.Model):
#    name = db.StringProperty(required=True)
#    role = db.StringProperty(required=True)
#    description = db.StringProperty(required=True)
#    bsg_character = db.StringProperty()
#    photo = db.BlobProperty(required=True)
#    weight = db.IntegerProperty(required=True)
#
#
# OrganizerForm = model_form(OrganizerDB)

Organizer = collections.namedtuple('Organizer', 'name role description bsg_character photo')

organizers = [
    Organizer('Martin Ericsson',
              'Executive Producer, Lead of story design',
              'Bla, bla, bla',
              'Gaius Baltar',
              ''),
    Organizer('Tomas Walch',
              'Executive Producer, focused on HR and Finance',
"""This month\'s Project Of The Month is 0 A.D. 0 A.D. (pronounced "zero ey-dee") is a free, open-source, cross-platform real-time strategy (RTS) game of ancient warfare. It's a historically-based war/economy game that allows players to relive or rewrite the history of six ancient Western civilizations, each depicted at their peak of economic growth and military prowess. The six factions are: The Hellenic States (aka The Greeks), the Roman Republic, The Celtic Tribes, the Persian Empire, the Iberian Tribes, and the Carthaginian Empire, each complete with unique artwork, technologies and civilization bonuses.""",
'Lee Adama',
'tomas.jpg'),
    Organizer('Henrik Summanen',
              'Executive Producer, focused on marketing + lead soundscape creator',
"""This month\'s Project Of The Month is 0 A.D. 0 A.D. (pronounced "zero ey-dee") is a free, open-source, cross-platform real-time strategy (RTS) game of ancient warfare. It's a historically-based war/economy game that allows players to relive or rewrite the history of six ancient Western civilizations, each depicted at their peak of economic growth and military prowess. The six factions are: The Hellenic States (aka The Greeks), the Roman Republic, The Celtic Tribes, the Persian Empire, the Iberian Tribes, and the Carthaginian Empire, each complete with unique artwork, technologies and civilization bonuses.""",
'Saul Tigh',
''),
Organizer('Elin Gustafsson',
          'Costume design and non-technical props, dramatics',
          '',
          'Kara Thrace',
          ''),
Organizer('Cecilia Dolk',
          'Accounting, safety, project administration',
          '',
          'Galen Tyrol',
          ''),
Organizer('Adriana Skarped',
          'Larpwriting',
          '',
          'Zoë Graystone',
          '')

]

teams = collections.OrderedDict(
         [('Production & administration', [(u'Tomas Walch', 'producer'),
                                          (u'Henrik Summanen', 'producer'),
                                          (u'Cecilia Dolk', 'project adminstration, safety, logistics'),
                                          (u'Andreas Sjöberg', 'web'),
                                          (u'Sara Fritzon', 'moving images')]),
         ('Story & characters', [(u'Daniel Krauklis', 'fictional producer'),
                                 (u'Anna-Karin Linder', 'writer'),
                                 (u'Martin Ericsson', 'artistic director'),
                                 (u'Adriana Skarped', 'writer')]),
         ('Costumes & non-technical props', [(u'Elin Gustafsson', 'costume coordinator'),
                                             (u'Moa Rönnåsen', 'costumes'),
                                             (u'Anna Sortti', 'props'),
                                             (u'Henrik Summanen', 'sound FX'),
                                             ]),
         ('Software & technical props', [(u'Staffan Rosenberg', 'technical producer'),
                                         (u'Daniel Sundström', 'technical producer'),
                                         (u'Henrik Bäärnhielm', 'programming'),
                                         (u'Tom Liljeholm', 'programming'),
                                         (u'Jonny Hjorter', 'programming'),
                                         (u'Onni Qvikström', '')]),
         ('Phantom & projection play', [(u'Elin Gustafsson', 'coordinator'), ]),
         ])
